package com.ruoyi.pwk.service.impl;

import java.util.List;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import com.ruoyi.pwk.mapper.BusPwkRhoutfallDataMapper;
import com.ruoyi.pwk.domain.BusPwkRhoutfallData;
import com.ruoyi.pwk.service.IBusPwkRhoutfallDataService;

/**
 * 入河排污口监测数据Service业务层处理
 * 
 * @author maliang
 * @date 2025-10-03
 */
@Service
public class BusPwkRhoutfallDataServiceImpl implements IBusPwkRhoutfallDataService 
{
    @Autowired
    private BusPwkRhoutfallDataMapper busPwkRhoutfallDataMapper;

    /**
     * 查询入河排污口监测数据
     * 
     * @param id 入河排污口监测数据主键
     * @return 入河排污口监测数据
     */
    @Override
    public BusPwkRhoutfallData selectBusPwkRhoutfallDataById(String id)
    {
        return busPwkRhoutfallDataMapper.selectBusPwkRhoutfallDataById(id);
    }

    /**
     * 查询入河排污口监测数据列表
     * 
     * @param busPwkRhoutfallData 入河排污口监测数据
     * @return 入河排污口监测数据
     */
    @Override
    public List<BusPwkRhoutfallData> selectBusPwkRhoutfallDataList(BusPwkRhoutfallData busPwkRhoutfallData)
    {
        return busPwkRhoutfallDataMapper.selectBusPwkRhoutfallDataList(busPwkRhoutfallData);
    }

    /**
     * 新增入河排污口监测数据
     * 
     * @param busPwkRhoutfallData 入河排污口监测数据
     * @return 结果
     */
    @Override
    public int insertBusPwkRhoutfallData(BusPwkRhoutfallData busPwkRhoutfallData)
    {
        return busPwkRhoutfallDataMapper.insertBusPwkRhoutfallData(busPwkRhoutfallData);
    }

    /**
     * 修改入河排污口监测数据
     * 
     * @param busPwkRhoutfallData 入河排污口监测数据
     * @return 结果
     */
    @Override
    public int updateBusPwkRhoutfallData(BusPwkRhoutfallData busPwkRhoutfallData)
    {
        return busPwkRhoutfallDataMapper.updateBusPwkRhoutfallData(busPwkRhoutfallData);
    }

    /**
     * 批量删除入河排污口监测数据
     * 
     * @param ids 需要删除的入河排污口监测数据主键
     * @return 结果
     */
    @Override
    public int deleteBusPwkRhoutfallDataByIds(String[] ids)
    {
        return busPwkRhoutfallDataMapper.deleteBusPwkRhoutfallDataByIds(ids);
    }

    /**
     * 删除入河排污口监测数据信息
     * 
     * @param id 入河排污口监测数据主键
     * @return 结果
     */
    @Override
    public int deleteBusPwkRhoutfallDataById(String id)
    {
        return busPwkRhoutfallDataMapper.deleteBusPwkRhoutfallDataById(id);
    }
}
